package karileet.meeting.profile.model.ui;

import karileet.meeting.profile.model.RowModel;
import android.widget.TextView;

/**
 * Class representing layout object, meanwhile reflecting RowModel 
 * @author markus
 *
 */
public class RowModelHolder {
    private TextView title;
    private TextView description;
    private RowModel rowModel;
    
    public RowModel getTag() {
    	return rowModel; 
    }
    
    public void setTag(RowModel rowModel) {
    	this.rowModel = rowModel;
    }
    
	public TextView getTitle() {
		return title;
	}
	public void setTitleText(CharSequence text) {
		this.title.setText(text);
	}
	public void setTitle(TextView title) {
		this.title = title;
	}
	public TextView getDescription() {
		return description;
	}
	public void setDescription(TextView description) {
		this.description = description;
	}
	public void setDescriptionText(CharSequence text) {
		this.description.setText(text);
	}
}
